//
//  TempViewController.swift
//  sinaOnceAgain
//
//  Created by 王相超 on 16/2/24.
//  Copyright © 2016年 chuanzhi. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.view.backgroundColor = UIColor.whiteColor()
        
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", style: .Plain, target: self, action: "push")
    }
    
    
    @objc private func push() {
        
        
        let temp = TempViewController()
        
        navigationController?.pushViewController(temp, animated: true)
        
    }
}
